#!/bin/bash

{% for host in groups['mysql'] %}
echo -e "\033[32m{{ host }}\033[0m"
curl http://{{ host }}:{{ http_port }}/status

{% endfor %}